<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="js/jquery-1.8.3.js" type="text/javascript"></script>
</head>
<body>
<script>
    $(function () {
        var adminsId = [{id: 1}, {id: 2}, {id: 3}];

        $.ajax({
            url: "delAdmins",
            type: "POST",
            data: JSON.stringify(adminsId),
            contentType: "application/json",
            success: function (result) {
                console.log(result);
            }
        })
    })
</script>
</body>
</html>
